package com.itheima.pojo;

import java.io.Serializable;

public class Diet implements Serializable {
    private Integer id;
    private String name;
    private String info;
    private String size;
    private String age;

    public Diet() {
    }

    public Diet(String name, String info, String size, String age) {
        this.name = name;
        this.info = info;
        this.size = size;
        this.age = age;
    }

    public Diet(Integer id, String name, String info, String size, String age) {
        this.id = id;
        this.name = name;
        this.info = info;
        this.size = size;
        this.age = age;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Diet{" + "id=" + id + ", name='" + name + '\'' + ", info='" + info + '\'' + ", size='" + size + '\'' + ", age='" + age + '\'' + '}';
    }
}
